<template>
  <div>
    <div class="login_box">
      <div class="frontlogin_img">
        <img src="../assets/login-1.jpg" />
      </div>
      <div class='loginsmall_box'>
        <form action="#" onSubmit="return checkForm()" class="kawhi">
          <div class="loginipt_box">
            <label for="userName">用户名：<span class="glyphicon glyphicon-user"></span></label>
            <input type="text" id="userName" class="userName"  v-model="resmes.username">
          </div>
          <div class="loginipt_box">
            <label for="userPasword">密码：<span class="glyphicon glyphicon-eye-open"></span>
            </label>
            <input type="password" id="userPasword" class="userName"  v-model="resmes.userpas">
          </div>
          <div>
            <input type="button"  value="登录"  class="resetBtn"  @click="gotologin" />
            <input type="button" class="resBtn" value="注册" @click="gotores">
          </div>
        </form>
      </div>
    </div>
  </div>
</template>
<script src="../js/frontlogin.js"></script>

<style scoped>
  @import "../css/frontres.css";
</style>
